package com.crm.common.crm.entity.VO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
@ApiModel("crm渠道转化统计")
public class CrmDataFromTransfer {

    @ApiModelProperty(value = "排名")
    private Integer sort;

    @ApiModelProperty(value = "渠道")
    private String name;

    @ApiModelProperty(value = "录入表单数量")
    private Integer formCount;

    @ApiModelProperty(value = "转化客户数量")
    private Integer transferCount;

    @ApiModelProperty(value = "客户成交数量")
    private Integer dealCount;

    @ApiModelProperty(value = "转化率")

    private String value;

    @Data
    @ApiModel("当前客户数")
    public static class RateData {

        @ApiModelProperty(value = "渠道")
        private String name;

        @ApiModelProperty(value = "转化率")
        private String value;
    }

}
